﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MoneyDistr.Question;
using CodeTestFramework;

namespace MoneyDistr.Test
{
    [TestClass]
    public class UnitTest1
    {
        [TestClass]
        [Answer(Namespace = "MoneyDistribution.Answer", Participant = "Libby")]
        public partial class BasicTests : UnitTestBase<IMoneyDistr>
        {

            [TestMethod]
            public void Libbytest1()
            {
                Assert.AreEqual<long>(3, Instance.GetCount(15, new int[] { 1, 5, 7 }), "No Cheater");

            }

            [TestMethod]
            public void Libbytest2()
            {
                Assert.AreEqual<long>(3, Instance.GetCount(13, new int[] { 1, 5, 7 }), "No Cheater");

            }
        }
    }
}
